<template>
  <div class="Download">
    <!-- 标题 -->
    <van-nav-bar title="我的下载" fixed left-arrow @click-left="onClickLeft" />

    <!-- <van-nav-bar title="我的下载" left-arrow right-text="管理" /> -->
    <div class="dlcourse">
      <p>公开课</p>
      <van-cell
        v-for="(a, i) in selected"
        :key="i"
        :value="`暑假第${a}周要求背完的四级常考核心词`"
        is-link
      />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      selected: ["一", "二", "三"],
    };
  },
  methods: {
    //返回上一页
    onClickLeft() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="scss">
.Download {
  height: 100vh;
  background-color: #eee;
  .dlcourse {
    padding: 48px 5px 0 5px;
    .van-nav-bar .van-icon {
      left: 5px;
    }
    .van-cell__value--alone {
      font-size: 16px;
      margin-left: 15px;
    }
    .van-nav-bar__text {
      font-size: 18px;
      color: #323233;
    }
    p {
      text-align: left;
      margin-left: 20px;
      font-size: 20px;
    }
  }
}
</style>